@import url(../css/base.css);

::-webkit-scrollbar-track-piece {
  background: #d3dce6;
}

::-webkit-scrollbar {
  width: 0.03rem;
}

::-webkit-scrollbar-thumb {
  background: #99a9bf;
  border-radius: 0.2rem;
}

.page-bd {
  background-color: #fafafa;
}

.page-bd .hbar {
  height: 0.44rem;
}

.page-bd .car-top-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.02rem 0.16rem;
  height: 0.44rem;
  font-size: 0.15rem;
}

.page-bd .car-top-menu .total-goods {
  color: red;
}

.page-bd .car-top-menu .top-menu-edit i {
  font-size: 0.15rem;
  margin-right: 0.06rem;
}

.page-bd .page-header-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.16rem;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: #fff;
  height: 0.44rem;
  z-index: 1000;
}

.goods-list li {
  background: #fff;
  border-radius: 0.06rem;
  display: flex;
  align-items: center;
  padding: 0.16rem 0.08rem;
  margin-bottom: 0.13rem;
}

.goods-list li>div:first-child {
  margin-right: 0.05rem;
  width: 0.33rem;
  height: 0.44rem;
  line-height: 0.44rem;
}

.goods-list li>div:first-child input {
  transform: scale(0.4);
}

.goods-list li>div:nth-child(2) {
  width: 1.1rem;
  height: 1.1rem;
}

.goods-list li>div:nth-child(2) img {
  width: 1.1rem;
}

.goods-list li>div:last-child {
  display: flex;
  flex-direction: column;
  padding-left: 0.13rem;
  flex: 1;
}

.goods-list li>div:last-child h3 {
  font-weight: 400;
  font-size: 0.15rem;
  max-height: 0.41rem;
  display: -webkit-box;
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.goods-list li>div:last-child .goods-props {
  margin-top: 0.07rem;
  height: 0.22rem;
  color: #ababab;
  font-size: 0.13rem;
  overflow: hidden;
}

.goods-list li>div:last-child>.goods-price {
  display: flex;
  margin-top: 0.13rem;
  justify-content: space-between;
}

.goods-list li>div:last-child>.goods-price span {
  font-size: 0.16rem;
  color: red;
}

.goods-list li>div:last-child>div .goods-num-menu {
  display: flex;
}

.goods-list li>div:last-child>div .goods-num-menu input {
  margin: 0 0.03rem;
  width: 0.44rem;
  height: 0.27rem;
  background: #f2f3f5;
  font-size: 0.14rem;
  color: #333;
  text-align: center;
}

.goods-list li>div:last-child>div .goods-num-menu button {
  width: 0.33rem;
  height: 0.27rem;
  text-align: center;
  line-height: 0.27rem;
  font-size: 0.2rem;
  color: #323233;
  background: #f2f3f5;
  border: none;
}

.car-goods-footer-fixed {
  position: fixed;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  z-index: 11;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 0.52rem;
  background: #fff;
  padding: 0 0.16rem;
  border-bottom: 1px solid #eee;
}

.car-goods-footer-fixed .all-check,
.car-goods-footer-fixed .go-pay {
  display: flex;
  font-size: 0.16rem;
  align-items: center;
}

.car-goods-footer-fixed .all-check {
  width: 0.77rem;
  align-items: center;
}

.car-goods-footer-fixed .all-check input {
  width: 0.2rem;
  transform: scale(1.05);
}

.car-goods-footer-fixed .go-pay div {
  display: flex;
  height: 100%;
  align-items: center;
  font-size: 0.14rem;
}

.car-goods-footer-fixed .go-pay div span {
  font-size: 0.17rem;
  color: red;
}

.car-goods-footer-fixed .go-pay a {
  margin-left: 0.16rem;
  width: 1.1rem;
  font-size: 0.15rem;
  height: 0.39rem;
  line-height: 0.39rem;
  text-align: center;
  color: #fff;
  border-radius: 0.27rem;
  background: linear-gradient(90deg, #f9211c, #ff6335);
}

.car-cont {
  padding: 1rem 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.car-cont .empty-img {
  width: 1.5rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-cont .empty-img img {
  width: 100%;
}

.car-cont .empty-txt {
  font-size: 0.16rem;
  margin: 0.3rem 0;
  color: gray;
}

.car-cont .go-index {
  width: 1.2rem;
  margin: 0 auto;
  font-size: 0.16rem;
  height: 0.35rem;
  line-height: 0.35rem;
  text-align: center;
  border-radius: 0.27rem;
  background: linear-gradient(90deg, #f9211c, #ff6335);
}

.car-cont .go-index a {
  color: #fff;
}

.page-body-cont {
  padding-top: 0.44rem;
  height: calc(100% - 0.5rem);
}

.page-body-cont .cont-main {
  height: calc(100% - 0.5rem);
}

.page-body-cont .search-bar {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.44rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0.44rem;
  height: 0.53rem;
  padding: 0.07rem;
  padding-bottom: 0.11rem;
  background-color: #fff;
}

.page-body-cont .search-bar a {
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  border-radius: 0.27rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6d6d6d;
  font-size: 0.14rem;
}

.page-body-cont .search-bar a i {
  margin-right: 0.07rem;
}

.page-body-cont .search-bar a span {
  font-size: 0.16rem;
}

.page-body-cont .cate-cont {
  margin-top: 0.53rem;
  display: flex;
  flex: 1;
  background-color: #fff;
  height: 100%;
  align-items: inherit;
}

.page-body-cont .cate-cont .cate-list-nav-items {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 0 0 23%;
  background: #f8f8f8;
  color: #444;
}

.page-body-cont .cate-cont .cate-list-nav-items .cate-nav-scroll {
  height: 100%;
  overflow-y: auto;
}

.page-body-cont .cate-cont .cate-list-nav-items .cate-nav-scroll .cate-list-nav-item {
  position: relative;
  height: 0.49rem;
  z-index: 10;
  display: block;
  font-size: 0.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-body-cont .cate-cont .cate-list-nav-items .cate-nav-scroll .cate-list-nav-item.active {
  background-color: #fff;
  color: red;
}

.page-body-cont .cate-cont .cate-list-goods-items {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.page-body-cont .cate-cont .cate-list-goods-items .cate-list-goods-scroll {
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  height: 100%;
  overflow-y: auto;
}

.page-body-cont .cate-cont .cate-list-goods-items .cate-list-goods-scroll .cate-list-goods-cont {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 0.1rem;
  padding-top: 0.1rem;
  padding-bottom: 0.05rem;
  margin-bottom: 0.16rem;
  background-color: #fff;
}

.cate-list-goods-item {
  width: 33.33%;
}

.cate-list-goods-item .cate-goods-item-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.08rem 0.08rem 0.02rem 0.08rem;
  width: 100%;
}

.cate-list-goods-item .cate-goods-item-img img {
  width: 100%;
}

.cate-list-goods-item .cate-goods-item-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  padding-bottom: 0.16rem;
  text-align: center;
  font-size: 0.14rem;
  color: #444;
}